package com.moxiao.yfjh.module.blind.convert.privilege;

import com.moxiao.yfjh.module.blind.controller.admin.privilege.vo.MemberPrivilegeCreateReqVO;
import com.moxiao.yfjh.module.blind.controller.admin.privilege.vo.MemberPrivilegeExcelVO;
import com.moxiao.yfjh.module.blind.controller.admin.privilege.vo.MemberPrivilegeRespVO;
import com.moxiao.yfjh.module.blind.controller.admin.privilege.vo.MemberPrivilegeUpdateReqVO;
import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.blind.controller.admin.privilege.vo.*;
import com.moxiao.yfjh.module.blind.dal.dataobject.privilege.MemberPrivilegeDO;

/**
 * 相亲会员等级特权 Convert
 *
 * @author mx
 */
@Mapper
public interface MemberPrivilegeConvert {

    MemberPrivilegeConvert INSTANCE = Mappers.getMapper(MemberPrivilegeConvert.class);

    List<MemberPrivilegeDO> convert(List<MemberPrivilegeCreateReqVO> bean);

    MemberPrivilegeDO convert(MemberPrivilegeUpdateReqVO bean);

    MemberPrivilegeRespVO convert(MemberPrivilegeDO bean);

    List<MemberPrivilegeRespVO> convertList(List<MemberPrivilegeDO> list);

    PageResult<MemberPrivilegeRespVO> convertPage(PageResult<MemberPrivilegeDO> page);

    List<MemberPrivilegeExcelVO> convertList02(List<MemberPrivilegeDO> list);

}
